package com.indusfo.spc.client.service;

import java.util.List;

import com.indusfo.spc.pojo.Badcause;
import com.indusfo.spc.pojo.Badpheno;
import com.indusfo.spc.pojo.Badreply;

/**
 * 客户端不良现象
 * 
 * @author zhengd
 *
 */
public interface ClientBadphenoService {
	/**
	 * 根据不良现象查询不良原因
	 * 
	 * @param badphenoId
	 * @return Badcause
	 */
	List<Badcause> queryBadcauseByBadpheno(Integer badphenoId);

	/**
	 * 根据不良现象查询不良对策
	 * 
	 * @param badphenoId
	 * @return Badreply
	 */
	List<Badreply> queryBadreplyByBadpheno(Integer badphenoId);

	/**
	 * 根据批次ID和工位查询不良现象
	 * 
	 * @param batchId
	 * @param stationId
	 * @return Badpheno
	 */
	List<Badpheno> queryBadphenoByBatchId(Integer batchId, Integer stationId);
}
